﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using iTeachSoft.CoreObjects;

namespace iTeachSoft.Presentation.Dialogs
{
    /// <summary>
    /// Interaction logic for DialogInsertAudioTrack.xaml
    /// </summary>
    public partial class DialogInsertAudioTrack : Window
    {
        private Slide mCurrentSlide = null;

        public DialogInsertAudioTrack(Slide slide)
        {
            InitializeComponent();

            mCurrentSlide = slide;
            ReflectSlide();

            this.buttonOk.Click += new RoutedEventHandler(buttonOk_Click);
            this.buttonCancel.Click += new RoutedEventHandler(buttonCancel_Click);
        }

        private void ReflectSlide()
        {
            //TODO
        }

        void buttonCancel_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }

        private void buttonOk_Click(object sender, RoutedEventArgs e)
        {
            //TODO save audio file
            this.Close();
        }
    }
}
